package pl.genapp.stocksense.others;

import java.util.ArrayList;
import java.util.Stack;

import android.app.Application;
import android.util.Log;

public class StockSenseState extends Application {

	private int selectedMonths;
	private Stack<String> selectedEntities;
	private ArrayList<LegendTypeChangeListener> legendTypeChangelListeners = new ArrayList<LegendTypeChangeListener>();

	public void onCreate() {
		super.onCreate();

		selectedMonths = 3;
		selectedEntities = new Stack<String>();
	
		Log.d("stocksense", "Application StockSenseStarted");
	}

	public int getSelectedMonths() {
		return selectedMonths;
	}

	public void setSelectedMonths(int selectedMonths) {
		this.selectedMonths = selectedMonths;
	}

	public Stack<String> getSelectedEntities() {
		return selectedEntities;
	}

	public void setSelectedEntities(Stack<String> selectedEntities) {
		this.selectedEntities = selectedEntities;
	}

	public ArrayList<LegendTypeChangeListener> getLegendTypeChangelListeners() {
		return legendTypeChangelListeners;
	}

	public void setLegendTypeChangelListeners(ArrayList<LegendTypeChangeListener> legendTypeChangelListeners) {
		this.legendTypeChangelListeners = legendTypeChangelListeners;
	}
	
	
	
	

}
